This is how nails are sorted