Revision 09092536

b/snf-cyclades-app/synnefo/ui/static/snf/js/models.js
1859 1859
        },
1860 1860

  
1861 1861
        comparator: function(img) {
1862
            return -img.get_sort_order("sortorder") || 1000 * img.id;
1862
            return -img.get_sort_order("sortorder") || 0;
1863 1863
        },
1864 1864

  
1865 1865
        parse_meta: function(img) {

Also available in: Unified diff