Sorting::getComparator()
Browser availability: desktop-only.
This API requires the desktop runtime. Browser declarations may report the limitation without performing the operation.
Returns the order currently used.
Syntax
Java
.getComparator()
Return
Comparator<Sprite>