Fixed selection(), now it sorts all