Bug# 446236 - IndirectList is missing the new sort method introduced in Java 8 (Java 1.8.0) - Added generic type into IndirectList to match Vector prototype.

Signed-off-by: Tomas Kraus <tomas.kraus@oracle.com>