PHP Project demonstrating the trip sorter algorithm