<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to sorting the data according to time</title><link href="https://forge.codesys.com/forge/talk/automation_server/thread/9b2ae77472/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/automation_server/thread/9b2ae77472/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/automation_server/thread/9b2ae77472/</id><updated>2022-02-02T13:11:16.991000Z</updated><subtitle>Recent posts to sorting the data according to time</subtitle><entry><title>sorting the data according to time</title><link href="https://forge.codesys.com/forge/talk/automation_server/thread/9b2ae77472/?limit=25#7a71" rel="alternate"/><published>2022-02-02T13:11:16.991000Z</published><updated>2022-02-02T13:11:16.991000Z</updated><author><name>mehakfatima</name><uri>https://forge.codesys.com/u/mehakfatima/</uri></author><id>https://forge.codesys.comdad0b0bdfb562f50ff4438f36867f4f21f41b132</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi everyone,&lt;br/&gt;
 As per my client's requirement I want to on and off the pump according to the time and the water level limit. For example, If the water limit is between 7 to 9 one pump will be off which has the greatest time among all the pumps and if the limit is 6-7 the two pumps will be off having the greatest time compared to other pump and if the limit is 5-6 three pump will be off according to the time. I am having a problem to off the two pumps on the time base. I also create a bubble sort in which my time is sorted accordingly but having problems, to off the pumps according to the sorted array. &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>