example allows sorting