package Ġomn ia . util . reak t ive . observable Ċ Ċ import Ġcom . bad oo . reak t ive . observable . Observable Ċ import Ġcom . bad oo . reak t ive . observable . toList Ċ import Ġcom . bad oo . reak t ive . single . flatMap Iterable Ċ Ċ fun Ġ< T > ĠObservable < T >. sorted ( comparator : ĠComparator < T >) Ġ= ĊĠ Ġthis . toList (). flatMap Iterable Ġ{ Ġit . sorted With ( comparator ) Ġ}