sort layers process fixed - fixes vizzuality/cartodb-management#2684