Generifying flash sort.

With this change, FlashSort will be able to operate on any value
implementing the Element interface.
Adding the Element interface and its NumericElement implementation.