Fixed bug in DS report, sorted reports, IDataSource

sorted faulty detector and RLR reports (others are already sorted)
Created interface for SQLDataSource, classes now use DataSourceFactory,
so the database can be easily changed in the future.