src/jquery.timelineMe.js
function(items) {
            var hasRelativePositioning = hasNumberProperty(items, 'relativePosition');

            if(hasRelativePositioning) {
                items.sort(function(a, b) {
                    return a.relativePosition - b.relativePosition;
                });
            }
        }
function(items) {
            var hasRelativePositioning = hasNumberProperty(items, 'relativePosition');

            if(hasRelativePositioning) {
                items.sort(function(a, b) {
                    return a.relativePosition - b.relativePosition;
                });
            }
        }
function ( items ) { var hasRelativePositioning = hasNumberProperty ( items , 'relativePosition' ) ; if ( hasRelativePositioning ) { items . sort ( function ( a , b ) { return a . relativePosition - b . relativePosition ; } ) ; } }
Method that sort items, depending on their relativePosition
Method that sort items depending on their relativePosition