Edited Doctor viewer

Added dbConnect.cs which is our separate connection file so we do not
have to change code each and every time. I have added sorting of
ascending and descending order to all fields