Sorting a plie of plates