Enable sorting for Sets

Summary: Now that Sets retain insertion order it would be handy if Sets could be
sorted using PHP's sort builtin functions. This diff leverages to shared
implementation between Map and Set to enable sorting for Sets.

Reviewed By: ptc, eletuchy

Differential Revision: D1435214